package com.ruoyi.profession.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作业绩信息对象 work_achievements
 * 
 * @author 靳双伟
 * @date 2024-06-02
 */
public class WorkAchievements extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 基本信息ID（外键） */
    @Excel(name = "基本信息ID", readConverterExp = "外=键")
    private Long basicInfoId;

    /** 起止时间-开始 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起止时间-开始", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 起止时间-结束 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起止时间-结束", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 单位 */
    @Excel(name = "单位")
    private String workUnit;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 有无签名 */
    @Excel(name = "有无签名")
    private Long hasSignature;

    /** 项目详情 */
    @Excel(name = "项目详情")
    private String projectDetails;

    /** 职责 */
    @Excel(name = "职责")
    private String responsibilities;

    /** PDF附件 */
    @Excel(name = "PDF附件")
    private String attachmentPdf;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasicInfoId(Long basicInfoId) 
    {
        this.basicInfoId = basicInfoId;
    }

    public Long getBasicInfoId() 
    {
        return basicInfoId;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setWorkUnit(String workUnit) 
    {
        this.workUnit = workUnit;
    }

    public String getWorkUnit() 
    {
        return workUnit;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setHasSignature(Long hasSignature) 
    {
        this.hasSignature = hasSignature;
    }

    public Long getHasSignature() 
    {
        return hasSignature;
    }
    public void setProjectDetails(String projectDetails) 
    {
        this.projectDetails = projectDetails;
    }

    public String getProjectDetails() 
    {
        return projectDetails;
    }
    public void setResponsibilities(String responsibilities) 
    {
        this.responsibilities = responsibilities;
    }

    public String getResponsibilities() 
    {
        return responsibilities;
    }
    public void setAttachmentPdf(String attachmentPdf) 
    {
        this.attachmentPdf = attachmentPdf;
    }

    public String getAttachmentPdf() 
    {
        return attachmentPdf;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("basicInfoId", getBasicInfoId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("workUnit", getWorkUnit())
            .append("projectName", getProjectName())
            .append("hasSignature", getHasSignature())
            .append("projectDetails", getProjectDetails())
            .append("responsibilities", getResponsibilities())
            .append("attachmentPdf", getAttachmentPdf())
            .toString();
    }
}
